package com.doria.sso.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginDto {

    // 手机号
    @NotNull
    @NotBlank
    private String mobile;
    // 短信验证码
    @NotNull
    @NotBlank
    private String smsCode;
}
